package com.imooc.newretail.bpl.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program:new-retail-teach
 * @description:菜单数据传输对象
 * @author:Hank.He
 * @create:2020-06-25 12:25
 **/
@Data
@ApiModel
public class MenuDTO implements Serializable {
    private String menuId;
    @ApiModelProperty(value = "菜单类型",notes = "类型:0子模块、1目录、2菜单、3功能按钮")
    private Integer type;
    @ApiModelProperty(value = "菜单名称",required = true)
    private String title;
    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "菜单资源地址")
    private String url;
    @ApiModelProperty(value = "加载类型")
    private String loadType;//加载类型
    @ApiModelProperty(value = "显示顺序")
    private Integer showOrder;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "权限校验码")
    private String checkCode;
    @ApiModelProperty(value = "父级菜单ID")
    private String parentId;
    @ApiModelProperty(value = "创建人")
    private String creater;
}
